@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" name="id" value="${banner.id}">
            <input id="type" name="类型"  value="${banner.type}" type="hidden">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="desc" name="图片描述" underline="true"  value="${banner.desc}" type="text"/>
                    <#input id="img" name="图片链接" underline="true"  value="${banner.img}" type="text"/>

                </div>
                <div class="col-sm-6">
                    <#input id="url" name="跳转链接" underline="true"  value="${banner.url}" type="text"/>
                    <#input id="target" name="跳转方式" underline="true"  value="${banner.target}" type="text"/>
                    <#input id="sort" name="排序" underline="true"  value="${banner.sort}" type="text"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="BannerInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="BannerInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>

<script src="${ctxPath}/static/modular/system/banner/banner_info.js"></script>
@}
